package com.wang.pojo;

public class User {
    private String name;



    public  User(String name1){
       this.name=name1;
    }

//    public User(){
//        System.out.println("User的无参构造!");
//    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void show(){
        System.out.println("name="+name);
    }
}
